/*
 * @Author: underMoonzs 1994186472@qq.com
 * @Date: 2025-10-04 21:06:29
 * @LastEditors: underMoonzs 1994186472@qq.com
 * @LastEditTime: 2025-10-04 22:06:25
 * @FilePath: \lyshjpt\src\views\biz\utils\layerdata.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * 地图图层树形结构数据
 * 包含基础图层和要素图层的配置信息
 */
import { wmsBaseUrl } from '@/views/biz/utils/config'
const layerData = [
  {
    id: "zidongzhan",
    name: "自动站",
    layername: "zidongzhan",
    dataType: "dataApi",
    geoType: "Point",
  },

  {
    id: "shougongduanmian",
    name: "实验室数据",
    layername: "shougongduanmian",
    dataType: "dataApi",
    geoType: "Point",
  },
  {
    id: "yinyongshuiyuandi",
    name: "饮用水源地",
    geoType: "point",
    children: [
      {
        id: "shuiyuandibaohuqu",
        name: "水源地保护区",
        layername: "shuiyuandibaohuqu",
        layerUrl: wmsBaseUrl,
        wmsLayerName: "gp:baohuqu",
        dataType: "wms",
        geoType: "polygon",
      },

      {
        id: "shuiyuandiStation",
        name: "饮用水源地",
        layername: "shuiyuandiStation",
        dataType: "dataApi",
        geoType: "Point",
      },
      {
        id: "qushuikou",
        name: "取水口",
        layername: "qushuikou",
        dataType: "dataApi",
        geoType: "Point",
      },
    ]
  },

  {
    id: "wuranyuan",
    name: "污染源",
    layername: "wuranyuan",
    dataType: "dataApi",
    geoType: "Point",

  },

  {
    id: "ruhepaiwukou",
    name: "入河排污口",
    layername: "ruhepaiwukou",
    geoType: "Point",
    dataType: "dataApi",
  },
    {
    id: "shipinjiankong",
    name: "视频监控",
    layername: "shipinjiankong",
    geoType: "Point",
    dataType: "dataApi",
  },
];

export default layerData;
